<?php /* Smarty version Smarty-3.0.8, created on 2012-11-02 07:00:59
         compiled from "F:\Zend Debug\workForYangtzeu\administrator/template\departmentManager.list.center.html" */ ?>
<?php /*%%SmartyHeaderCode:37750936fabe54c22-85725330%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'fbf60f258f5fc5d2ca45303eaaf60d4949555f72' => 
    array (
      0 => 'F:\\Zend Debug\\workForYangtzeu\\administrator/template\\departmentManager.list.center.html',
      1 => 1351823501,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '37750936fabe54c22-85725330',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<style type="text/css">
<!--
.row-actions {
	padding: 2px 0 0;
	visibility: hidden;
}

tr:hover .row-actions {
	visibility: visible;
}
-->
</style>
<div class="content-box">
	<!-- Start Content Box -->
	<div class="content-box-header">
		<h3>所有部门</h3>
	</div>
	<!-- End .content-box-header -->
	<!-- Start .content-box-content -->
	<div class="content-box-content">
		<table class="department_list">
			<thead>
				<tr>
					<th><input type="checkbox"></th>
					<th>部门名称</th>
					<th>部门管理者</th>
					<th>上级部门</th>
				</tr>
			</thead>
			<tfoot>
				<tr>
					<th><input type="checkbox"></th>
					<th>部门名称</th>
					<th>部门管理者</th>
					<th>上级部门</th>
				</tr>
			</tfoot>
			<tbody>
				<?php  $_smarty_tpl->tpl_vars['departmentArr'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('departmentList')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['departmentArr']->key => $_smarty_tpl->tpl_vars['departmentArr']->value){
?>
				<tr>
					<td><input type="checkbox"></td>
					<td><?php echo $_smarty_tpl->tpl_vars['departmentArr']->value['name'];?>

						<div class="row-actions">
							<span><a href="#">编辑</a></span>
							<span>移至回收站</span>
							<span><a href="#">预览/查看</a></span>
						</div>
					</td>
					<td><a href="#"><?php echo $_smarty_tpl->tpl_vars['departmentArr']->value['administrator']['realname'];?>
	</a></td>
					<td><a href="#"><?php echo $_smarty_tpl->tpl_vars['departmentArr']->value['parent']['name'];?>
</a></td>
				</tr>
				<?php }} ?>
			</tbody>
		</table>
		 <script src="assets/jquery/jquery-ui-1.8.23.custom.min.js" type="text/javascript" charset="utf-8"></script>
      <link rel="stylesheet" href="assets/jquery/ui-themes/smoothness/jquery-ui-1.8.23.custom.css" type="text/css" media="screen" title="no title" charset="utf-8">
		<input type="button" value="弹出部门树形菜单" onclick='$(".tree").dialog({modal:true})'/>
			<?php $_template = new Smarty_Internal_Template("department.tree.center.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
	</div>
	<!-- End .content-box-content -->
</div>
<!-- End .content-box -->